package com.liuche.book.auth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liuche.book.auth.model.entity.User;
import com.liuche.book.auth.model.vo.user.req.UpdatePasswordReqVO;
import com.liuche.book.auth.model.vo.user.req.UserLoginReqVO;
import com.liuche.framework.common.response.Response;

public interface UserService extends IService<User>{


    Response<String> login(UserLoginReqVO vo);

    /**
     * 退出登录接口
     * @return
     */
    Response<?> logout();

    /**
     * 修改用户的密码
     * @param vo
     * @return
     */
    Response<?> updatePwd(UpdatePasswordReqVO vo);
}
